#include "DataGenerator.h"
#include "IndexGenerator.h"
#include "Segmentator.h"

#include "Config.h"

#include "Utility.h"

//#include "Select.h"
#include "Insert.h"

#include <time.h>
#include <stdio.h>

int main()
{
    //generateRelation("R");
    //generateIndex("R", R_SIZE);

    //makeSegments("R", true);

    /*
    for (int i = 0; i < SEGMENTS_COUNT; i++)
    {
        selectx(getSegmentName("R", i), 9);  
    }

    select("R", 9);
    */

    /*double   start, finish;
    start = mysecond();

    int* tuple = new int[ARITY];
    tuple[0] = 999;
    tuple[1] = 888;
    tuple[2] = 777;

    for(int i = 0; i < 500; i++)
    {
        insert("R", tuple, true);
    }

    finish = mysecond();

    double elapsed_time = finish - start;

    printf( "\nProgram takes %6.3lf seconds.\n", elapsed_time );*/

    return 0;
}